/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ourMessage;

/**
 *
 * @author adrian
 * @author olga
 */
public class FileTransfertCancel extends Message {

    private static final long serialVersionUID = 7715571116132980646L;

    private int idDemand;

    public FileTransfertCancel(String username, int idDemand) {
        super(username);
        this.idDemand = idDemand;
    }

    public int getIdDemand() {
        return idDemand;
    }

    public void setIdDemand(int idDemand) {
        this.idDemand = idDemand;
    }

    @Override
    public String toString() {
        return "FileTransfertCancel  username=" + login + ", idDemand=" + idDemand + "]";
    }
}
